#if !defined(__PRAY_CORE_NINEDAY_H)
#define __PRAY_CORE_NINEDAY_H

// Defines

#define PRAY_ROSARYVIEW_RIGHTHAND_LEFT					232
#define PRAY_ROSARYVIEW_LEFTHAND_LEFT					8
#define PRAY_ROSARYVIEW_TOP								50
#define PRAY_ROSARYVIEW_WIDTH							80
#define PRAY_ROSARYVIEW_HEIGHT							280

#define PRAY_PRAYVIEW_RIGHTHAND_LEFT					20
#define PRAY_PRAYVIEW_LEFTHAND_LEFT						100
#define PRAY_PRAYVIEW_TOP								60
#define PRAY_PRAYVIEW_WIDTH								200 
#define PRAY_PRAYVIEW_HEIGHT							255

#define PRAY_POINTERVIEW_RIGHTHAND_LEFT					272
#define PRAY_POINTERVIEW_LEFTHAND_LEFT					48
#define PRAY_POINTERVIEW_TOP							190

@class NineDayViewController;

@interface NineDayNavigationController : BaseNavigationViewController
{
	NineDayViewController*			_nineDayViewController;
}

- (void)onSettingChanged:(PraySettingData*)data;

@end

@interface NineDayViewController : BaseViewController <EditPurposeViewDelegate, RosaryViewControllerDelegate> {
	BOOL						_isLeftHandSided;
	BOOL						_vibrateOn;
	BOOL						_enableLightMystery;
	
	NSArray*					_mysteryImageButtons;
	NSInteger					_currentMystery;
	NSString*					_purpose;
	UITextView*					_prayView;
	UIImageView*				_backgroundView;
	RosaryViewController*		_rosaryView;
	ImageButton*				_mysteryView;
	NSString*					_mysteryName;
	UIImageView*				_pointerView;
	
	UILabel*					_purposeLabel;
	UIScrollView*				_purposeScrollView;
	NSInteger					_purposeScrollViewPosition;
	NSInteger					_purposeScrollViewLimitX;
}

- (void)onSettingChanged:(PraySettingData*)data;

@end


#endif // !__PRAY_CORE_NINEDAY_H